package exception;

public class ThrowsDemo {
    public static void main(String[] args) {
        Student stu = new Student();
//        try {
//            stu.setAge(140);
//        } catch (IllegalAgeException e) {
//            System.out.println(e.getMessage());
//        }
    }
}
